nsd: fix build_varaint usage
authorJohn Crispin <[email protected]>
Thu, 17 Jul 2014 17:01:08 +0000 (18:01 +0100)
committerJohn Crispin <[email protected]>
Thu, 17 Jul 2014 17:02:47 +0000 (18:02 +0100)
without this only 1 of n variants builds, all others fail

Signed-off-by: John Crispin <[email protected]>
net/nsd/Makefile

index 5c87f5f13dab000df1c03943520d1c54fcd1c78e..ba1c1993f2c66e3bfefad4107511bb6a1e489d94 100644 (file)
@@ -22,6 +22,8 @@ PKG_LICENSE_FILES:=LICENSE
 
 PKG_MAINTAINER:=Vasilis Tsiligiannis <[email protected]>
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/nsd/default